<!--#include file="Config.asp" -->
<!--#include file="HeadTop.asp"-->

<table class="table table-condensed table-bordered">
<form method="post" action="UserAddSave.asp">
<tr bgcolor='#ddeeff'>
<td >用户信息</td>
<td >以下信息将会用于AnyPIM的各个模块</td>
</tr>
<tr>
<td>UserName:</td>
<td>
<input name="UserName" type="text" id="UserName" size="30" value=""/> *非空
</td>
</tr>

<tr>
<td>密码：</td>
<td><input name="Pwd" type="text" size="30" value=""/> *非空
</td>
</tr>
<!-- 权限开始 -->
<tr bgcolor='#ddeeff'>
<td>权限：</td>
<td>
浏览权限：<select name="RightVisit">
	<option value="0" >无</option>
	<option value="1" >有</option>
</select>
增加权限：
<select name="RightAdd">
	<option value="0" >无</option>
	<option value="1" >有</option>
</select>
修改权限：
<select name="RightEdit">
	<option value="0" >无</option>
	<option value="1" >有</option>
</select>
删除权限：
<select name="RightDel">
	<option value="0" >无</option>
	<option value="1" >有</option>
</select>
合并权限：
<select name="RightIncorporate">
	<option value="0" >无</option>
	<option value="1" >有</option>
</select>
管理员权限：<select name="RightAdmin">
	<option value="0" >无</option>
	<option value="1" >有</option>
</select>
</td>
</tr>

<tr>
<td>真实姓名：</td>
<td>
<input name="RealName" type="text" id="RealName" size="30" value="<%=RealName%>"/>
<SELECT name="Sex">
<OPTION value="1">男</option>
<OPTION value="0">女</option>
</SELECT>
<select name="Marriage"  id="Marriage">
<option value="未婚">未婚</option>
<option value="已婚">已婚</option>
<option value="离异">离异</option>
<option value="保密">保密</option>
</select>

</td>
</tr>

<tr>
<td >出生日期：</td>
<td >
<SELECT name="BirthYear">
<%for Y=1900 to year(now())%>
<OPTION value="<%=Y%>" <%if Y=BirthYear then%>selected<%end if%>><%=Y%>年</Option>
<%next%>
</SELECT>
<SELECT name="BirthMonth">
<%for M=1 to 12%>
<OPTION value="<%=M%>" <%if M=BirthMonth then%>selected<%end if%>><%=M%>月</Option>
<%next%>
</SELECT>
<SELECT name="BirthDay">
<%for D=1 to 31%>
<OPTION value="<%=D%>" <%if D=BirthDay then%>selected<%end if%>><%=D%>日</Option>
<%next%>
</SELECT>

</td>
</tr>

<tr>
<td >证件号码：</td>
<td >
<SELECT name="CredentialsType">
<OPTION value="1">身份证</option>
<OPTION value="2">驾照</option>
</SELECT>
<INPUT type="text" name="CredentialsNum" size='40' value="">
</td>
</tr>

<tr>
<td >民族：</td>
<td ><input name="Nation" type="text" id="Nation" size="20"  value="" /></td>
</tr>
<tr>
<td >政治面貌：</td>
<td ><select name="Political">
<%
Rs.Open "select * from PoliticalTbl order by PoliticalId asc" , Conn , 1 , 1
Do While Not Rs.Eof
Response.Write("<option value="""& Rs("PoliticalName") &""" ")
Response.Write(">"& Rs("PoliticalName") &"</option>")
Rs.MoveNext
Loop
Rs.Close
%>
</select></td>
</tr>
<tr>
<td >籍贯：</td>
<td ><input name="Birthplace" type="text"  id="Birthplace" value=""  size='40'/></td>
</tr>
<tr>
<td >户口：</td>
<td ><input name="HouseholdPlace" type="text"  id="HouseholdPlace" value="" size='40' /></td>
</tr>
<tr>
<td >学历：</td>
<td ><select name="Qualification"  id="Qualification">
<%
Rs.Open "select * from QualificationTbl order by QualificationId asc" , Conn , 1 , 1
Do While Not Rs.Eof
Response.Write("<option value="""& Rs("QualificationName") &""" ")
Response.Write(">"& Rs("QualificationName") &"</option>")
Rs.MoveNext
Loop
Rs.Close
%>
</select></td>
</tr>
<tr>
<td >身高：</td>
<td ><input name="Standing" type="text"  id="Standing" size="10" value="" />
CM</td>
</tr>
<tr>
<td >体重：</td>
<td ><input name="Weight" type="text"  id="Weight" size="10" value="" />
KG</td>
</tr>

<tr>
<td>现在所在地：</td>
<td><input name="NowAddr" type="text"  id="NowAddr" size="60" value="" /></td>
</tr>
<tr>
<td >联系地址：</td>
<td ><input name="HomeAddr" type="text"  id="HomeAddr" size="60" value="" /></td>
</tr>
<tr>
<td >QQ：</td>
<td ><input name="QQ" type="text"  id="QQ" size="60" value="" /></td>
</tr>
<tr>
<td >微信：</td>
<td ><input name="MSN" type="text"  id="MSN" size="60" value="" /></td>
</tr>
<tr>
<td >微博：</td>
<td ><input name="Weibo" type="text"  id="Weibo" size="60" value="" /></td>
</tr>

<tr>
<td >手机：</td>
<td ><input name="Mobile" type="text"  id="Mobile" size="60" value="" /></td>
</tr>
<tr>
<td valign='top'>联系电话：</td>
<td ><input name="Tel" type="text"  id="Tel" size="60" value="" />&nbsp;
(格式：0576-88553705 或者 13912345678 ，多个电话请用,隔开)</td>
</tr>
<tr>
<td >电子信箱：</td>
<td ><input name="Email" type="text"  id="Email" size="60" value="" /></td>
</tr>
<tr bgcolor='#ddeeff'>
<td>&nbsp;</td>
<td>
<%If session("AnyPIM_RightAdmin")=1 then%>
<input type="submit" value='保存新增'/><%=request("Msg")%>
<%else%>
无管理员权限
<%End if%>
</td>
</tr>
</form>
</table>

<!-- #include file="foot.asp" -->
